﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Sec002.aspx.cs" Inherits="Admin_Sys_Sec_Sec002" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width: 100%; min-width: 700px">
        <yncWeb:PagnationGrid PageSize="30" ID="pageGrid" runat="server" OnOnPageIndexChange="PageChanged">
            <HeaderTemplate> 
                <table width="100%" cellspacing="0" cellpadding="0" class="AddTable">
                    <tr>
                        <td></td>
                        <td width="60px" align="center"><%=GetAddLink("Sec002a.aspx",null,480,220) %></td>
                    </tr>
                </table>
                <table width="100%" cellspacing="0" cellpadding="0" class="pagnationtable">
                    <thead>
                        <tr>
                            <th width="40px">
                                序号
                            </th>
                            <th>
                                用户组名称
                            </th>
                            <th width="60px" class="center">
                                状态
                            </th>
                            <th width="140px" class="center">创建日期</th>
                            <th width="60px" class="center">
                                修改
                            </th>
                            <th width="60px" class="center">
                                删除
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%# Container.ItemIndex +1 %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSRoleMetadata.ColumnNames.RoleName)%>
                    </td>
                    <td class="center">
                        <%# GetActiveStatus(DataBinder.Eval(Container.DataItem, TSRoleMetadata.ColumnNames.IsActive))%>
                    </td>
                    <td class="center">
                        <%# DataBinder.Eval(Container.DataItem,TSRoleMetadata.ColumnNames.CreatedTime)%></td>
                    <td class="center action">
                        <%# GetUpdateLink("Sec002a.aspx", Container.DataItem, 480, 220, TSRoleMetadata.ColumnNames.RoleID)%>
                    </td>
                    <td class="center action">
                        <%# GetDeleteLink("Sec002a.aspx", Container.DataItem, TSRoleMetadata.ColumnNames.RoleID)%>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="odd">
                    <td>
                        <%# Container.ItemIndex +1 %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSRoleMetadata.ColumnNames.RoleName)%>
                    </td>
                    <td class="center">
                        <%# GetActiveStatus(DataBinder.Eval(Container.DataItem, TSRoleMetadata.ColumnNames.IsActive))%>
                    </td>
                    <td class="center">
                        <%# DataBinder.Eval(Container.DataItem,TSRoleMetadata.ColumnNames.CreatedTime)%></td>
                    <td class="center action">
                        <%# GetUpdateLink("Sec002a.aspx", Container.DataItem, 480, 220, TSRoleMetadata.ColumnNames.RoleID)%>
                    </td>
                    <td class="center action">
                        <%# GetDeleteLink("Sec002a.aspx", Container.DataItem, TSRoleMetadata.ColumnNames.RoleID)%>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                </tbody> </table>
            </FooterTemplate>
        </yncWeb:PagnationGrid>
    </div>
</asp:Content>

